<div class="product-container">
  <div *ngFor="let product of products" class="col-md-4 col-sm-4 col-lg-4">
    <div class="thumbnail">
      <img src="http://via.placeholder.com/320x150" alt="">
      <div class="caption">
        <h4 class="pull-right">{{product.price}}元</h4>
        <h4><a routerLink="/detail/{{product.id}}" [queryParams]="{tag:'ABC'}">{{product.title}}</a></h4>
        <p>{{product.desc}}</p>
      </div>
      <app-stars [rating]="product.rating"></app-stars>
    </div>
  </div>
</div>
